package close.mazegame;

import com.badlogic.gdx.controllers.Controllers;

public class Debug {

	private static boolean SHOW_FPS = false;
	private static boolean BOX2D_DEBUG = false;
	private static boolean FORCE_LIGHT = false;

	public static boolean showFPS() {
		return SHOW_FPS;
	}

	public static boolean box2DDebug() {
		return BOX2D_DEBUG;
	}
	
	public static boolean forceLight(){
		return FORCE_LIGHT;
	}

	public static void toggleFPS() {
		if (SHOW_FPS) {
			SHOW_FPS = false;
		} else {
			SHOW_FPS = true;
		}
	}

	public static void toggleBox2DDebug() {
		if (BOX2D_DEBUG) {
			BOX2D_DEBUG = false;
		} else {
			BOX2D_DEBUG = true;
		}
	}
	
	public static void toggleForceLight() {
		if (FORCE_LIGHT) {
			FORCE_LIGHT = false;
		} else {
			FORCE_LIGHT = true;
		}
	}

	public static void printInfo() {
		System.out.println("We have " + Controllers.getControllers().size + " controllers");
	}

}
